<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>用户登录</title>
		<link href="images/login.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript">
			function onsub(){
				 var uname=document.getElementById("username");
				 var upwd=document.getElementById("userpwd");
	 
				 if(uname.value==""){
				 alert("用户名不能空");
				 return;
				 }
				 if(upwd.value==""){
				 alert("密码不能为空");
				 return;
				 }
				 document.forms[0].submit();
	 		}
		</script>
	</head>

	<body>
		<form action="mannager!ManagerLogin.action" id="myform">
			<div id="login">

				<div id="top">
					<div id="top_left">
						<img src="images/login_03.gif" />
					</div>
					<div id="top_center"></div>
				</div>

				<div id="center">
					<div id="center_left"></div>
					<div id="center_middle">

						<div id="user">

							用 户
							<input type="text" name="con.CLoginName" id="username" />
						</div>
						<div id="password">
							密 码
							<input type="password" name="con.CLoginPwd" id="userpwd" />
						</div>
						<div id="btn">

							<a href="javascript:onsub()">登录</a><a href="#">清空</a>
						</div>

					</div>
					<div id="center_right"></div>
				</div>

				<div id="down">
					<div id="down_left">
						<div id="inf">
							<span class="inf_text">版本信息</span>
							<span class="copyright">管理信息系统 2008 v2.0 <font
								style="color: red">${managerMsg}</font> </span>
						</div>
					</div>
					<div id="down_center"></div>
				</div>

			</div>
		</form>
	</body>
</html>
